<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>修改</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../static/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../static/layui/layuiadmin/css/admin.css" media="all">
    <style>
        .st{
            width: 270px!important;
        }
        .layui-form-label{
            width: 120px!important;
        }
    </style>
</head>
<body>

<div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">姓名</label>
        <div class="layui-input-inline st">
            <input type="text" name="login_name" lay-verify="required|login_name" placeholder="请输入姓名" autocomplete="off" autocomplete="off" class="layui-input" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">基本工资</label>
        <div class="layui-input-inline st">
            <input type="text" name="basic_salary" lay-verify="required" placeholder="请输入基本工资" autocomplete="off" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">绩效工资</label>
        <div class="layui-input-inline st">
            <input type="text" name="performance" lay-verify="required" placeholder="请输入绩效工资" autocomplete="off" autocomplete="off" class="layui-input" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">交通补助</label>
        <div class="layui-input-inline st">
            <input type="text" name="transportation" placeholder="请输入交通补助" autocomplete="off" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">通讯补助</label>
        <div class="layui-input-inline st">
            <input type="text" name="communication" placeholder="请输入通讯补助" autocomplete="off" autocomplete="off" class="layui-input" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">餐补</label>
        <div class="layui-input-inline st">
            <input type="text" name="meal_subsidy" placeholder="请输入职称" autocomplete="off" autocomplete="off" class="layui-input" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">住房补助</label>
        <div class="layui-input-inline st">
            <input type="text" name="housing" placeholder="请输入住房补助" autocomplete="off" autocomplete="off" class="layui-input" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">出差补助</label>
        <div class="layui-input-inline st">
            <input type="text" name="business" placeholder="请输入出差补助" autocomplete="off" autocomplete="off" class="layui-input" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">加班补助</label>
        <div class="layui-input-inline st">
            <input type="text" name="overtime_subsidy" placeholder="请输入加班补助" autocomplete="off" autocomplete="off" class="layui-input" >
        </div>
    </div>

    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-user-front-submit" id="LAY-user-front-submit" autocomplete="off" value="确认">
    </div>
</div>

<script src="../../../static/layui/layui.js"></script>
<script>
    layui.config({
        base: '../../../static/layui/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'layer', 'form','layedit','laydate'], function(){
        var $ = layui.$
            ,form = layui.form
            ,layer = layui.layer
            ,laydate = layui.laydate
            ,layedit = layui.layedit;

        //常规用法
        laydate.render({
            elem: '#dis_time'
        });

        // //创建一个编辑器
        // var editIndex = layedit.build('LAY_demo_editor');
        // //自定义验证规则
        // form.verify({
        //   empno: function(value){
        //     //只能是数字
        //     var reg = /^[0-9]*$/;
        //     if(!reg.test(value)){
        //       return '雇员编号只允许输入数字';
        //     }
        //   }
        //   ,content: function(value){
        //     layedit.sync(editIndex);
        //   }
        // });

    })
</script>
</body>
</html>